//
//  main.cpp
//  test_sequence_vector
//
//  Created by huge on 2021/10/19.
//  Copyright © 2021 huge. All rights reserved.
//

//make sure vector is  a unorder container

#include <iostream>
#include<vector>

int main(int argc, const char * argv[]) {
    // insert code here...
    std::cout << "Hello, World!\n";
    
    std::vector<int> testSequenceVec;
    testSequenceVec.push_back(100);
    testSequenceVec.push_back(5);
    testSequenceVec.push_back(3);
    testSequenceVec.push_back(6);
    
    while (testSequenceVec.size()) {
        std::cout << testSequenceVec.back() << std::endl;
        testSequenceVec.pop_back();
    }
    
    
    return 0;
}
